package com.woniuxy.microgoldservice.service;

import com.woniuxy.bean.ResultBean;
import com.woniuxy.microgoldservice.bean.GoldAccumulateInfo;
import com.woniuxy.microgoldservice.bean.GoldPriceDTO;
import com.woniuxy.microgoldservice.bean.GoldPriceInfo;

import java.util.List;
import java.util.Map;

/**
 * @author hongbin
 * @date 2021-04-07 16:34
 * Description：
 */

public interface IGoldpriceService {
    ResultBean selectAll();

    int insert(GoldPriceInfo goldPriceInfo);

    int update(GoldPriceInfo goldPriceInfo);

    int delete(Long id);

    List<GoldPriceInfo> selectToday();

    List<GoldPriceInfo> selectOneMonth(Long proId);

    List<GoldPriceInfo> selectHalfYear(Long proId);

    List<GoldPriceInfo> selectOneYear(Long proId);

    Map<String,Object> selectTodayPrice();

    Double getNowGoldPrice();

    Double getNowARP(String username);

    int setEarnings();

    int insertZeroTime(GoldPriceInfo goldPriceInfo);

    ResultBean selectChart();



}
